package algo;

/**
 *
 * @author robin
 */
//edge = one-way connection between 2 nodes
public class Edge {

    public final Node src, dst;
    public final int cost;

    public Edge(Node src, Node dst, int cost) {
        this.src = src;
        this.dst = dst;
        this.cost = cost;
        //make a node aware of it's outgoing edges
//        src.edges.add(this);
    }
}